<template>
  <div class="back">
    <img src="../../static/images/brand/back.png" alt="返回图标" @click="onBackBtn">
  </div>
</template>

<script>
export default {
  name: 'backBtn',
  methods: {
    onBackBtn () {
      this.$router.go(-1)
    }
  }
}
</script>

<style lang="stylus" scoped>
  .back{
    height: .9rem
    line-height: .9rem
    img{
      width: 1rem
      padding: .3rem .4rem
    }
  }
</style>
